package cn.tedu.common.pojo;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Product {
	// 根据驼峰命名定义属性

	private String productId;
	private String productName;
	// 封装类完成基本类型的使用
	// 满足业务意义
	private Double productPrice;
	private String productCategory;
	private String productImgurl;
	private Integer productNum;
	private String productDescription;

	@Override
	public String toString() {
		return "Product [productId=" + productId + ", productName=" + productName + ", productPrice=" + productPrice
				+ ", productCategory=" + productCategory + ", productImgurl=" + productImgurl + ", productNum="
				+ productNum + ", productDescription=" + productDescription + "]";
	}

}
